package com.tianxiao.test.model;
import java.io.Serializable;

import com.baijia.tianxiao.sqlbuilder.annotation.Column;
import com.baijia.tianxiao.sqlbuilder.annotation.Entity;
import com.baijia.tianxiao.sqlbuilder.annotation.GeneratedValue;
import com.baijia.tianxiao.sqlbuilder.annotation.Id;
import com.baijia.tianxiao.sqlbuilder.annotation.Table;

import lombok.Data;


/**
 * 
 * 
 * 
 **/
@SuppressWarnings("serial")

@Data
@Entity
@Table(name = "conflict_check", catalog = "virgo")
public class ConflictCheck implements Serializable {

	/**自增主键**/
	@Id
	@GeneratedValue
	private Long id;

	/**课程id**/
	@Column(name = "course_id")
	private Long courseId;

	/**教室id**/
	@Column(name = "classroom_id")

	private Long classroomId;

	/**老师id**/
	@Column(name = "teacher_id")
	private Long teacherId;

	/**开始时间**/
	@Column(name = "start_time")
	private Long startTime;

	/**结束时间**/
	@Column(name = "end_time")
	private Long endTime;
	
	
	/**
	 * 非数据库字段，标识整个排课查询范围的开始，比如一周的开始时间，
	 * 因为课表可视化展示视界有限制，不可能一次展示未来所有的排课，大多情况都是一周一周的展示
	 */
	private Long rangeStart;
	/**
	 * 非数据库字段，标识整个排课查询范围的结束，比如一周的结束时间
	 */
	private Long rangeEnd;

	public void setId(Long id){
		this.id = id;
	}

	public Long getId(){
		return this.id;
	}

	public void setCourseId(Long courseId){
		this.courseId = courseId;
	}

	public Long getCourseId(){
		return this.courseId;
	}

	public void setClassroomId(Long classroomId){
		this.classroomId = classroomId;
	}

	public Long getClassroomId(){
		return this.classroomId;
	}

	public void setTeacherId(Long teacherId){
		this.teacherId = teacherId;
	}

	public Long getTeacherId(){
		return this.teacherId;
	}

	public void setStartTime(Long startTime){
		this.startTime = startTime;
	}

	public Long getStartTime(){
		return this.startTime;
	}

	public void setEndTime(Long endTime){
		this.endTime = endTime;
	}

	public Long getEndTime(){
		return this.endTime;
	}

	public Long getRangeStart() {
		return rangeStart;
	}

	public void setRangeStart(Long rangeStart) {
		this.rangeStart = rangeStart;
	}

	public Long getRangeEnd() {
		return rangeEnd;
	}

	public void setRangeEnd(Long rangeEnd) {
		this.rangeEnd = rangeEnd;
	}

	
}
